<template>
  <div>
    <svg-icon size="1.1rem" :icon-class="isFullscreen ? 'exit-fullscreen' : 'fullscreen'" @click="toggle"/>
  </div>
</template>

<script setup lang="ts">
import SvgIcon from '@/components/SvgIcon/index.vue';
import {useFullscreen} from '@vueuse/core';

const {isFullscreen, toggle} = useFullscreen();
</script>
